﻿using UnityEngine;
using System.Collections;

public class Rotator : MonoBehaviour
{
    Transform _transform = null;
    
    void Start()
    {

    }

    void FixedUpdate()
    {
        if (_transform == null)
        {
            _transform = GetComponent<Transform>();
        }

        if (_transform == null)
            return;

        _transform.Rotate(0.1f, 0.2f, 0.5f);
    }
}
